﻿using System;
using SR = System.Reflection;
using Mono.Cecil;

namespace AgregarTrace
{
    static class ExtensionAssembyDefinition
    {
        public static MethodReference importMethodInfo(this AssemblyDefinition ad, SR.MethodInfo mi)
        {
            return ad.MainModule.Import(mi);
        }
    }
}
